LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := cocos2dcpp_shared

LOCAL_MODULE_FILENAME := libcocos2dcpp

LOCAL_SRC_FILES := hellocpp/main.cpp \
                   ../../Classes/AppDelegate.cpp \
../../Classes/BattleScene.cpp \
../../Classes/GameData.cpp \
../../Classes/GameOver.cpp \
../../Classes/LoginScene.cpp \
../../Classes/MyRole.cpp \
../../Classes/lib/network/ByteBuffer.cpp \
../../Classes/lib/network/MessageQueue.cpp \
../../Classes/lib/network/SocketClient.cpp \
../../Classes/lib/network/Util.cpp \
../../Classes/lib/network/message.cpp \
../../Classes/mainScene.cpp \
../../Classes/registerView.cpp \
../../Classes/role.cpp \
../../Classes/shop.cpp 
	
LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \
$(LOCAL_PATH)/../../Classes/lib \
$(LOCAL_PATH)/../../Classes/lib/network 

LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
LOCAL_WHOLE_STATIC_LIBRARIES += chipmunk_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static

include $(BUILD_SHARED_LIBRARY)

$(call import-module,cocos2dx)
$(call import-module,cocos2dx/platform/third_party/android/prebuilt/libcurl)
$(call import-module,CocosDenshion/android)
$(call import-module,extensions)
$(call import-module,external/Box2D)
$(call import-module,external/chipmunk)
